package com.handc.springcloud.dao;

import com.handc.springcloud.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;


import java.util.List;

@Mapper
@Repository
public interface StudentDao {

    public Student queryById(Long id);

    public List<Student> queryAll();

    public boolean addStudent(Student student);
}
